package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yellow Docker
 * @since 2022-11-21
 */
@Getter
@Setter
  @TableName("c_comment")
@ApiModel(value = "Comment对象", description = "")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键，自增")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("0-5 为 0-5星 <3为差评")
      private Integer level;

    private String content;

      @ApiModelProperty("订单id")
      private Integer orderId;

      @ApiModelProperty("评价用户id")
      private Integer userId;

      @ApiModelProperty("创建时间")
      private Date createTime;


}
